package com.ulic.customerManApplication.mailmodule.dao;

import com.ulic.customerManApplication.commonmodule.bo.BirthdayMessage;
import com.ulic.customerManApplication.commonmodule.bo.MailSignature;
import com.ulic.customerManApplication.mailmodule.bo.MailRecord;
import com.ulic.customerManApplication.mailmodule.vo.MailRecordVO;
import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface MailDao {

	public PagerModel getMailRecords(int curPage);
	   
    public PagerModel getMailRecords(MailRecordVO mailRecordVO,int curPage);
    
    public void insertBirthdayBless(BirthdayMessage birthdayMessage);
    
    public MailRecord getMailRecordById(int id);
    
    public void insertMailRecords(MailRecord mailRecord);
    
    public void deleteMailRecord(MailRecord mailRecord);
    
    public BirthdayMessage getBirthdayMessageByType(User user,String type);
    
    public MailSignature getMailSignature(User user);
    
    public void saveMailSignature(MailSignature mailSignature);
}
